package com.yidu.ladder.system.domain;

import java.io.Serializable;
import java.util.Date;

public class ArtificialDispatch implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6762204569660144960L;
	private String dispatchId;
	private String businessRecsiptId;
	private String businessRecsiptNo;
	private String sortingCode;
	private Date workOrderTime;
	private String fetchAddress;
	private String customerNo;
	private String contacts;
	private String telephone;
	private Integer numberPackages;
	private Integer volume;
	private String arrivalCity;
	private Integer traceNum;
	private String workOrderId;
	private String isOvertime;
	private String isAbnormal;
	private String isRetreat;
	private String retreatReason;
	private String orgId;
	private String operationOrg;
	private String subsetId;
	private String remarks;
	private String workOrderType;
	private Date dates;
	private String operationStaffName;
	private String takeOrgName;
	private String separateListType;
	private String workOrderNo;
	private String jobListId;
	private String unitOfAcquisition;
	private String staffName;
	private String customerName;
	private Integer weight;

	public String getDispatchId() {
		return dispatchId;
	}

	public void setDispatchId(String dispatchId) {
		this.dispatchId = dispatchId;
	}

	public String getBusinessRecsiptId() {
		return businessRecsiptId;
	}

	public void setBusinessRecsiptId(String businessRecsiptId) {
		this.businessRecsiptId = businessRecsiptId;
	}

	public String getBusinessRecsiptNo() {
		return businessRecsiptNo;
	}

	public void setBusinessRecsiptNo(String businessRecsiptNo) {
		this.businessRecsiptNo = businessRecsiptNo;
	}

	public String getSortingCode() {
		return sortingCode;
	}

	public void setSortingCode(String sortingCode) {
		this.sortingCode = sortingCode;
	}

	public Date getWorkOrderTime() {
		return workOrderTime;
	}

	public void setWorkOrderTime(Date workOrderTime) {
		this.workOrderTime = workOrderTime;
	}

	public String getFetchAddress() {
		return fetchAddress;
	}

	public void setFetchAddress(String fetchAddress) {
		this.fetchAddress = fetchAddress;
	}

	public String getCustomerNo() {
		return customerNo;
	}

	public void setCustomerNo(String customerNo) {
		this.customerNo = customerNo;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Integer getNumberPackages() {
		return numberPackages;
	}

	public void setNumberPackages(Integer numberPackages) {
		this.numberPackages = numberPackages;
	}

	public Integer getVolume() {
		return volume;
	}

	public void setVolume(Integer volume) {
		this.volume = volume;
	}

	public String getArrivalCity() {
		return arrivalCity;
	}

	public void setArrivalCity(String arrivalCity) {
		this.arrivalCity = arrivalCity;
	}

	public Integer getTraceNum() {
		return traceNum;
	}

	public void setTraceNum(Integer traceNum) {
		this.traceNum = traceNum;
	}

	public String getWorkOrderId() {
		return workOrderId;
	}

	public void setWorkOrderId(String workOrderId) {
		this.workOrderId = workOrderId;
	}

	public String getIsOvertime() {
		return isOvertime;
	}

	public void setIsOvertime(String isOvertime) {
		this.isOvertime = isOvertime;
	}

	public String getIsAbnormal() {
		return isAbnormal;
	}

	public void setIsAbnormal(String isAbnormal) {
		this.isAbnormal = isAbnormal;
	}

	public String getIsRetreat() {
		return isRetreat;
	}

	public void setIsRetreat(String isRetreat) {
		this.isRetreat = isRetreat;
	}

	public String getRetreatReason() {
		return retreatReason;
	}

	public void setRetreatReason(String retreatReason) {
		this.retreatReason = retreatReason;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOperationOrg() {
		return operationOrg;
	}

	public void setOperationOrg(String operationOrg) {
		this.operationOrg = operationOrg;
	}

	public String getSubsetId() {
		return subsetId;
	}

	public void setSubsetId(String subsetId) {
		this.subsetId = subsetId;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getWorkOrderType() {
		return workOrderType;
	}

	public void setWorkOrderType(String workOrderType) {
		this.workOrderType = workOrderType;
	}

	public Date getDates() {
		return dates;
	}

	public void setDates(Date dates) {
		this.dates = dates;
	}

	public String getOperationStaffName() {
		return operationStaffName;
	}

	public void setOperationStaffName(String operationStaffName) {
		this.operationStaffName = operationStaffName;
	}

	public String getTakeOrgName() {
		return takeOrgName;
	}

	public void setTakeOrgName(String takeOrgName) {
		this.takeOrgName = takeOrgName;
	}

	public String getSeparateListType() {
		return separateListType;
	}

	public void setSeparateListType(String separateListType) {
		this.separateListType = separateListType;
	}

	public String getWorkOrderNo() {
		return workOrderNo;
	}

	public void setWorkOrderNo(String workOrderNo) {
		this.workOrderNo = workOrderNo;
	}

	public String getJobListId() {
		return jobListId;
	}

	public void setJobListId(String jobListId) {
		this.jobListId = jobListId;
	}

	public String getUnitOfAcquisition() {
		return unitOfAcquisition;
	}

	public void setUnitOfAcquisition(String unitOfAcquisition) {
		this.unitOfAcquisition = unitOfAcquisition;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((arrivalCity == null) ? 0 : arrivalCity.hashCode());
		result = prime * result + ((businessRecsiptId == null) ? 0 : businessRecsiptId.hashCode());
		result = prime * result + ((businessRecsiptNo == null) ? 0 : businessRecsiptNo.hashCode());
		result = prime * result + ((contacts == null) ? 0 : contacts.hashCode());
		result = prime * result + ((customerName == null) ? 0 : customerName.hashCode());
		result = prime * result + ((customerNo == null) ? 0 : customerNo.hashCode());
		result = prime * result + ((dates == null) ? 0 : dates.hashCode());
		result = prime * result + ((dispatchId == null) ? 0 : dispatchId.hashCode());
		result = prime * result + ((fetchAddress == null) ? 0 : fetchAddress.hashCode());
		result = prime * result + ((isAbnormal == null) ? 0 : isAbnormal.hashCode());
		result = prime * result + ((isOvertime == null) ? 0 : isOvertime.hashCode());
		result = prime * result + ((isRetreat == null) ? 0 : isRetreat.hashCode());
		result = prime * result + ((jobListId == null) ? 0 : jobListId.hashCode());
		result = prime * result + ((numberPackages == null) ? 0 : numberPackages.hashCode());
		result = prime * result + ((operationOrg == null) ? 0 : operationOrg.hashCode());
		result = prime * result + ((operationStaffName == null) ? 0 : operationStaffName.hashCode());
		result = prime * result + ((orgId == null) ? 0 : orgId.hashCode());
		result = prime * result + ((remarks == null) ? 0 : remarks.hashCode());
		result = prime * result + ((retreatReason == null) ? 0 : retreatReason.hashCode());
		result = prime * result + ((separateListType == null) ? 0 : separateListType.hashCode());
		result = prime * result + ((sortingCode == null) ? 0 : sortingCode.hashCode());
		result = prime * result + ((staffName == null) ? 0 : staffName.hashCode());
		result = prime * result + ((subsetId == null) ? 0 : subsetId.hashCode());
		result = prime * result + ((takeOrgName == null) ? 0 : takeOrgName.hashCode());
		result = prime * result + ((telephone == null) ? 0 : telephone.hashCode());
		result = prime * result + ((traceNum == null) ? 0 : traceNum.hashCode());
		result = prime * result + ((unitOfAcquisition == null) ? 0 : unitOfAcquisition.hashCode());
		result = prime * result + ((volume == null) ? 0 : volume.hashCode());
		result = prime * result + ((weight == null) ? 0 : weight.hashCode());
		result = prime * result + ((workOrderId == null) ? 0 : workOrderId.hashCode());
		result = prime * result + ((workOrderNo == null) ? 0 : workOrderNo.hashCode());
		result = prime * result + ((workOrderTime == null) ? 0 : workOrderTime.hashCode());
		result = prime * result + ((workOrderType == null) ? 0 : workOrderType.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ArtificialDispatch other = (ArtificialDispatch) obj;
		if (arrivalCity == null) {
			if (other.arrivalCity != null)
				return false;
		} else if (!arrivalCity.equals(other.arrivalCity))
			return false;
		if (businessRecsiptId == null) {
			if (other.businessRecsiptId != null)
				return false;
		} else if (!businessRecsiptId.equals(other.businessRecsiptId))
			return false;
		if (businessRecsiptNo == null) {
			if (other.businessRecsiptNo != null)
				return false;
		} else if (!businessRecsiptNo.equals(other.businessRecsiptNo))
			return false;
		if (contacts == null) {
			if (other.contacts != null)
				return false;
		} else if (!contacts.equals(other.contacts))
			return false;
		if (customerName == null) {
			if (other.customerName != null)
				return false;
		} else if (!customerName.equals(other.customerName))
			return false;
		if (customerNo == null) {
			if (other.customerNo != null)
				return false;
		} else if (!customerNo.equals(other.customerNo))
			return false;
		if (dates == null) {
			if (other.dates != null)
				return false;
		} else if (!dates.equals(other.dates))
			return false;
		if (dispatchId == null) {
			if (other.dispatchId != null)
				return false;
		} else if (!dispatchId.equals(other.dispatchId))
			return false;
		if (fetchAddress == null) {
			if (other.fetchAddress != null)
				return false;
		} else if (!fetchAddress.equals(other.fetchAddress))
			return false;
		if (isAbnormal == null) {
			if (other.isAbnormal != null)
				return false;
		} else if (!isAbnormal.equals(other.isAbnormal))
			return false;
		if (isOvertime == null) {
			if (other.isOvertime != null)
				return false;
		} else if (!isOvertime.equals(other.isOvertime))
			return false;
		if (isRetreat == null) {
			if (other.isRetreat != null)
				return false;
		} else if (!isRetreat.equals(other.isRetreat))
			return false;
		if (jobListId == null) {
			if (other.jobListId != null)
				return false;
		} else if (!jobListId.equals(other.jobListId))
			return false;
		if (numberPackages == null) {
			if (other.numberPackages != null)
				return false;
		} else if (!numberPackages.equals(other.numberPackages))
			return false;
		if (operationOrg == null) {
			if (other.operationOrg != null)
				return false;
		} else if (!operationOrg.equals(other.operationOrg))
			return false;
		if (operationStaffName == null) {
			if (other.operationStaffName != null)
				return false;
		} else if (!operationStaffName.equals(other.operationStaffName))
			return false;
		if (orgId == null) {
			if (other.orgId != null)
				return false;
		} else if (!orgId.equals(other.orgId))
			return false;
		if (remarks == null) {
			if (other.remarks != null)
				return false;
		} else if (!remarks.equals(other.remarks))
			return false;
		if (retreatReason == null) {
			if (other.retreatReason != null)
				return false;
		} else if (!retreatReason.equals(other.retreatReason))
			return false;
		if (separateListType == null) {
			if (other.separateListType != null)
				return false;
		} else if (!separateListType.equals(other.separateListType))
			return false;
		if (sortingCode == null) {
			if (other.sortingCode != null)
				return false;
		} else if (!sortingCode.equals(other.sortingCode))
			return false;
		if (staffName == null) {
			if (other.staffName != null)
				return false;
		} else if (!staffName.equals(other.staffName))
			return false;
		if (subsetId == null) {
			if (other.subsetId != null)
				return false;
		} else if (!subsetId.equals(other.subsetId))
			return false;
		if (takeOrgName == null) {
			if (other.takeOrgName != null)
				return false;
		} else if (!takeOrgName.equals(other.takeOrgName))
			return false;
		if (telephone == null) {
			if (other.telephone != null)
				return false;
		} else if (!telephone.equals(other.telephone))
			return false;
		if (traceNum == null) {
			if (other.traceNum != null)
				return false;
		} else if (!traceNum.equals(other.traceNum))
			return false;
		if (unitOfAcquisition == null) {
			if (other.unitOfAcquisition != null)
				return false;
		} else if (!unitOfAcquisition.equals(other.unitOfAcquisition))
			return false;
		if (volume == null) {
			if (other.volume != null)
				return false;
		} else if (!volume.equals(other.volume))
			return false;
		if (weight == null) {
			if (other.weight != null)
				return false;
		} else if (!weight.equals(other.weight))
			return false;
		if (workOrderId == null) {
			if (other.workOrderId != null)
				return false;
		} else if (!workOrderId.equals(other.workOrderId))
			return false;
		if (workOrderNo == null) {
			if (other.workOrderNo != null)
				return false;
		} else if (!workOrderNo.equals(other.workOrderNo))
			return false;
		if (workOrderTime == null) {
			if (other.workOrderTime != null)
				return false;
		} else if (!workOrderTime.equals(other.workOrderTime))
			return false;
		if (workOrderType == null) {
			if (other.workOrderType != null)
				return false;
		} else if (!workOrderType.equals(other.workOrderType))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "ArtificialDispatch [dispatchId=" + dispatchId + ", businessRecsiptId=" + businessRecsiptId
				+ ", businessRecsiptNo=" + businessRecsiptNo + ", sortingCode=" + sortingCode + ", workOrderTime="
				+ workOrderTime + ", fetchAddress=" + fetchAddress + ", customerNo=" + customerNo + ", contacts="
				+ contacts + ", telephone=" + telephone + ", numberPackages=" + numberPackages + ", volume=" + volume
				+ ", arrivalCity=" + arrivalCity + ", traceNum=" + traceNum + ", workOrderId=" + workOrderId
				+ ", isOvertime=" + isOvertime + ", isAbnormal=" + isAbnormal + ", isRetreat=" + isRetreat
				+ ", retreatReason=" + retreatReason + ", orgId=" + orgId + ", operationOrg=" + operationOrg
				+ ", subsetId=" + subsetId + ", remarks=" + remarks + ", workOrderType=" + workOrderType + ", dates="
				+ dates + ", operationStaffName=" + operationStaffName + ", takeOrgName=" + takeOrgName
				+ ", separateListType=" + separateListType + ", workOrderNo=" + workOrderNo + ", jobListId=" + jobListId
				+ ", unitOfAcquisition=" + unitOfAcquisition + ", staffName=" + staffName + ", customerName="
				+ customerName + ", weight=" + weight + "]";
	}

	public ArtificialDispatch(String dispatchId, String businessRecsiptId, String businessRecsiptNo, String sortingCode,
			Date workOrderTime, String fetchAddress, String customerNo, String contacts, String telephone,
			Integer numberPackages, Integer volume, String arrivalCity, Integer traceNum, String workOrderId,
			String isOvertime, String isAbnormal, String isRetreat, String retreatReason, String orgId,
			String operationOrg, String subsetId, String remarks, String workOrderType, Date dates,
			String operationStaffName, String takeOrgName, String separateListType, String workOrderNo,
			String jobListId, String unitOfAcquisition, String staffName, String customerName, Integer weight) {
		super();
		this.dispatchId = dispatchId;
		this.businessRecsiptId = businessRecsiptId;
		this.businessRecsiptNo = businessRecsiptNo;
		this.sortingCode = sortingCode;
		this.workOrderTime = workOrderTime;
		this.fetchAddress = fetchAddress;
		this.customerNo = customerNo;
		this.contacts = contacts;
		this.telephone = telephone;
		this.numberPackages = numberPackages;
		this.volume = volume;
		this.arrivalCity = arrivalCity;
		this.traceNum = traceNum;
		this.workOrderId = workOrderId;
		this.isOvertime = isOvertime;
		this.isAbnormal = isAbnormal;
		this.isRetreat = isRetreat;
		this.retreatReason = retreatReason;
		this.orgId = orgId;
		this.operationOrg = operationOrg;
		this.subsetId = subsetId;
		this.remarks = remarks;
		this.workOrderType = workOrderType;
		this.dates = dates;
		this.operationStaffName = operationStaffName;
		this.takeOrgName = takeOrgName;
		this.separateListType = separateListType;
		this.workOrderNo = workOrderNo;
		this.jobListId = jobListId;
		this.unitOfAcquisition = unitOfAcquisition;
		this.staffName = staffName;
		this.customerName = customerName;
		this.weight = weight;
	}

	public ArtificialDispatch() {
		super();
		// TODO Auto-generated constructor stub
	}

}
